from django.db import models
from django.contrib.auth.models import User,Group
from django.conf import settings
from wikicamp.worklist.models import MyUser,kullanicilar,kullanicigrup
# Create your models here.

class Hasta(models.Model):
    name = models.CharField(max_length=150,null=True,blank=True)
    aciklama = models.CharField(max_length=200,null=True,blank=True)    
    durum = models.CharField(max_length=200,null=True,blank=True)                     
    def __unicode__(self):
        return self.name

class Users(User):
    class Meta:
        permissions = (
            ("hasta_ekleme", "Operasyon listesi olusturabilir"),

        )
    
    def __unicode__(self):
        return self.ack